project(time)

add_executable(${PROJECT_NAME}
        time.cpp
        )
target_link_libraries(${PROJECT_NAME}
        Qt5::Widgets Qt5::Gui Qt5::Core
        )

cmake_path(GET CMAKE_CURRENT_SOURCE_DIR PARENT_PATH _parent_path)
cmake_path(GET _parent_path FILENAME _component)

install(TARGETS ${PROJECT_NAME}
        RUNTIME DESTINATION ${_component}
        COMPONENT ${_component}
        )